Skip to content

fix(chezmoiscripts): fix undefined $terrVersion in terraform install script#2

Open
posquit0 wants to merge 1 commit into
mainfrom
fix/terraform-install-script
Open

fix(chezmoiscripts): fix undefined $terrVersion in terraform install script#2
posquit0 wants to merge 1 commit into
mainfrom
fix/terraform-install-script

Conversation

@posquit0

Copy link
Copy Markdown
Owner

Summary

  • .chezmoiscripts/darwin/run_onchange_after_01_install_terraform.sh.tmpl referenced an undefined template variable $terrVersion, which makes chezmoi apply fail on macOS with:
    chezmoi: template: ...: undefined variable "$terrVersion"
    
  • Use the defined $terraformVersion variable instead.
  • Bump the pinned Terraform version 1.15.5 → 1.15.6 (matches the currently installed version).

Verification

chezmoi execute-template < run_onchange_after_01_install_terraform.sh.tmpl now renders successfully.

…script

The template referenced an undefined variable $terrVersion, causing
'chezmoi apply' to fail with a template error on darwin. Use the
defined $terraformVersion and bump the pinned version to 1.15.6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant